@import "colors.css";

.cf-message {
    -fx-alignment: center-left;
    -fx-min-height: 40px;
    -fx-graphic-text-gap: 8px;
    -fx-padding: 0 10px;
    -fx-background-color: -color-bg-default;
    -fx-background-radius: 3px;
    -fx-effect: dropshadow(three-pass-box, rgba(0, 0, 0, 0.2), 10.0, 0, 0, 0);
    -fx-text-fill: -color-fg-default;
    -fx-font-size: 14px;
    -fx-wrap-text: true;
}

.cf-message > .ikonli-font-icon {
    -fx-icon-color: -cf-primary-color;
    -fx-icon-size: 18px;
}

.cf-message.success > .ikonli-font-icon {
    -fx-icon-color: -cf-success-color;
}

.cf-message.info > .ikonli-font-icon {
    -fx-icon-color: -cf-info-color;
}

.cf-message.warn > .ikonli-font-icon {
    -fx-icon-color: -cf-warn-color;
}

.cf-message.danger > .ikonli-font-icon {
    -fx-icon-color: -cf-danger-color;
}

/*主题缩略图*/
.theme-thumbnail {
    -fx-spacing: 20px;
    -fx-padding: 20px;
    -fx-alignment: CENTER;
}

.theme-thumbnail:hover {
    -color-thumbnail-border: -color-accent-muted;
}

.theme-thumbnail:selected {
    -color-thumbnail-border: -color-accent-emphasis;
}

.theme-thumbnail > .label {
    -fx-underline: true;
}

.du-list {
    -fx-background-insets: 0px;
    -fx-background-color: transparent;
    -fx-padding: 0 0 5px 0;
    -fx-border-width: 0;
}

.du-list .scroll-bar {
    -fx-opacity: 0;
}

.du-list:hover .scroll-bar {
    -fx-opacity: 1;
}